<!DOCTYPE html>
<html lang="zh-CN" class=" ">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>支付接口 - Powered by MinDoc</title>


    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta name="author" content="Minho">
    <meta name="keywords" content="jeepay文档,xxpay文档,支付系统文档,开源聚合支付系统文档,优慧付 接口文档,签名规则">
    <meta name="description" content="签名规则-">


    <link href="./static/bootstrap.min.css" rel="stylesheet">

    <link href="./static/style.min.css" rel="stylesheet">
    <link href="./static/font-awesome.min.css" rel="stylesheet">
    <link href="./static/nprogress.css" rel="stylesheet">
    <link href="./static/kancloud.css" rel="stylesheet">
    <link href="./static/jstree.css" rel="stylesheet">
    <link href="./static/mermaid.css" rel="stylesheet">
    <link href="./static/sequence-diagram-min.css" rel="stylesheet">
    <link href="./static/editormd.preview.css" rel="stylesheet">
    <link href="./static/markdown.preview.css" rel="stylesheet">
    <link href="./static/github.css" rel="stylesheet">
    <link href="./static/katex.min.css" rel="stylesheet">
    <link href="./static/print.css" media="print" rel="stylesheet">

    <script type="text/javascript">window.book = { "identify": "jeepay_api" };</script>
    <link rel="stylesheet" href="./static/layer.css" id="layuicss-skinlayercss">
</head>

<body cz-shortcut-listen="true">
    <div class="m-manual manual-mode-view manual-reader">
        <header class="navbar navbar-static-top manual-head" role="banner">
            <div class="container-fluid">
                <div class="navbar-header pull-left manual-title">
                    <span class="slidebar" id="slidebar"><i class="fa fa-align-justify"></i></span>
                    <a title="优慧付 接口文档" class="book-title">优慧付 接口文档</a>
                    <span style="font-size: 12px;font-weight: 100;"></span>
                </div>
            </div>
        </header>
        <article class="container-fluid manual-body">
            <div class="manual-left">
                <div class="manual-tab">
                    <div class="tab-navg">
                        <span data-mode="view" class="navg-item active"><i class="fa fa-align-justify"></i><b
                                class="text">目录</b></span>
                    </div>
                    <div class="tab-util">
                        <span class="manual-fullscreen-switch">
                            <b class="open fa fa-angle-right" title="展开"></b>
                            <b class="close fa fa-angle-left" title="关闭"></b>
                        </span>
                    </div>
                    <div class="tab-wrap">
                        <div class="tab-item manual-catalog">
                            <div class="catalog-list read-book-preview jstree jstree-1 jstree-default" id="sidebar"
                                role="tree" tabindex="0" aria-activedescendant="78" aria-busy="false">
                                <ul class="jstree-container-ul jstree-children jstree-wholerow-ul jstree-no-dots"
                                    role="group">
                                    <li role="treeitem" aria-selected="false" aria-level="1"
                                        aria-labelledby="466_anchor" aria-expanded="true" id="466"
                                        class="jstree-node  jstree-open">
                                        <div unselectable="on" role="presentation" class="jstree-wholerow">&nbsp;</div>
                                        <i class="jstree-icon jstree-ocl" role="presentation"></i><a
                                            class="jstree-anchor"
                                            title="支付网关" data-version="1641260071" id="466_anchor"><i
                                                class="jstree-icon jstree-themeicon jstree-themeicon-hidden"
                                                role="presentation"></i>支付网关</a>
                                        <ul role="group" class="jstree-children">
                                            <li role="treeitem" aria-selected="false" aria-level="2"
                                                aria-labelledby="76_anchor" id="76" class="jstree-node  jstree-leaf">
                                                <div unselectable="on" role="presentation" class="jstree-wholerow">
                                                    &nbsp;</div><i class="jstree-icon jstree-ocl"
                                                    role="presentation"></i><a class="jstree-anchor"
                                                    href="http://123.249.21.172/1dabsb5sgav0l.html"
                                                    tabindex="-1" title="签名规则" data-version="1694052478"
                                                    id="76_anchor"><i
                                                        class="jstree-icon jstree-themeicon jstree-themeicon-hidden"
                                                        role="presentation"></i>签名规则</a>
                                            </li>
                                            <li role="treeitem" aria-selected="true" aria-level="2"
                                                aria-labelledby="78_anchor" id="78" class="jstree-node  jstree-leaf">
                                                <div unselectable="on" role="presentation"
                                                    class="jstree-wholerow jstree-wholerow-clicked">&nbsp;</div><i
                                                    class="jstree-icon jstree-ocl" role="presentation"></i><a
                                                    class="jstree-anchor jstree-clicked"
                                                    href="http://123.249.21.172/1dabshnfu814r.html"
                                                    tabindex="-1" title="支付接口" data-version="1733730624"
                                                    id="78_anchor"><i
                                                        class="jstree-icon jstree-themeicon jstree-themeicon-hidden"
                                                        role="presentation"></i>支付接口</a>
                                            </li>
                                            <li role="treeitem" aria-selected="false" aria-level="2"
                                                aria-labelledby="79_anchor" id="79" class="jstree-node  jstree-leaf">
                                                <div unselectable="on" role="presentation" class="jstree-wholerow">
                                                    &nbsp;</div><i class="jstree-icon jstree-ocl"
                                                    role="presentation"></i><a class="jstree-anchor"
                                                    href="http://123.249.21.172/1dabsi9nqf03e.html"
                                                    tabindex="-1" title="退款接口" data-version="1736326230"
                                                    id="79_anchor"><i
                                                        class="jstree-icon jstree-themeicon jstree-themeicon-hidden"
                                                        role="presentation"></i>退款接口</a>
                                            </li>
                                        </ul>
                                    </li>
                                    
                                </ul>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="manual-right">
                <div class="manual-article">

                    <div class="article-content">
                        <div class="article-body  markdown-body editormd-preview-container" id="page-content">
                            <article class="markdown-article-inner">
                                <div class="markdown-toc editormd-markdown-toc" style="height: 787px;">
                                    <ul class="markdown-toc-list">
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#5fjy7v"
                                                level="2">统一下单</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-3"
                                                href="1dabshnfu814r.html#fwwfnz"
                                                level="3">支付方式</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#69qhde"
                                                level="2">查询订单</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#9bcp0q"
                                                level="2">关闭订单</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#anhj72"
                                                level="2">条码换取openId</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#9temr0"
                                                level="2">支付通知</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#2p7jj6"
                                                level="2">获取渠道用户ID</a></li>
                                        <li class="directory-item"><a class="directory-item-link directory-item-link-2"
                                                href="1dabshnfu814r.html#252amo"
                                                level="2">返回码</a></li>
                                    </ul>
                                </div>
                                <div class="markdown-article">
                                    <h2 id="5fjy7v" class="markdown-heading"><a name="5fjy7v"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>统一下单</h2>
                                    <p class="line">
                                        商户业务系统通过统一下单接口发起支付收款订单，Jeepay支付网关会根据商户配置的支付通道路由支付通道完成支付下单。支付网关根据不同的支付方式返回对应的支付参数，业务系统使用支付参数发起收款。
                                    </p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：<a href="https://pay.hnmaster.cn/api/pay/unifiedOrder"
                                            target="_blank">https://pay.hnmaster.cn/api/pay/unifiedOrder</a></p>
                                    <p class="line">请求方式：<code>POST</code></p>
                                    <p class="line">请求类型：<code>application/json</code> 或
                                        <code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">请求参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>20160427210604000490</td>
                                                <td>商户生成的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>支付方式</td>
                                                <td>wayCode</td>
                                                <td>是</td>
                                                <td>String(20)</td>
                                                <td>WX_LITE</td>
                                                <td>支付方式,如微信小程序WX_LITE</td>
                                            </tr>
                                            <tr>
                                                <td>支付金额</td>
                                                <td>amount</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>100</td>
                                                <td>支付金额,单位分</td>
                                            </tr>
                                            <tr>
                                                <td>货币代码</td>
                                                <td>currency</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>cny</td>
                                                <td>三位货币代码,人民币:cny</td>
                                            </tr>
                                            <tr>
                                                <td>客户端IP</td>
                                                <td>clientIp</td>
                                                <td>否</td>
                                                <td>String(128)</td>
                                                <td>210.73.10.148</td>
                                                <td>客户端IPV4地址</td>
                                            </tr>
                                            <tr>
                                                <td>商品标题</td>
                                                <td>subject</td>
                                                <td>是</td>
                                                <td>String(128)</td>
                                                <td>Jeepay商品标题测试</td>
                                                <td>商品标题</td>
                                            </tr>
                                            <tr>
                                                <td>商品描述</td>
                                                <td>body</td>
                                                <td>是</td>
                                                <td>String(256)</td>
                                                <td>Jeepay商品描述测试</td>
                                                <td>商品描述</td>
                                            </tr>
                                            <tr>
                                                <td>门店编号</td>
                                                <td>storeId</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td>10010</td>
                                                <td>商户的门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>码牌ID</td>
                                                <td>qrcId</td>
                                                <td>否</td>
                                                <td>long</td>
                                                <td>10010432445333</td>
                                                <td>商户的码牌ID</td>
                                            </tr>
                                            <tr>
                                                <td>终端设备信息</td>
                                                <td>deviceInfo</td>
                                                <td>否</td>
                                                <td>String(256)</td>
                                                <td>{“deviceType”:“auto_pos”,“deviceNo” :“abcde12345”}</td>
                                                <td>智能POS、收银插件下单必填，json格式字符串，详见终端设备信息说明</td>
                                            </tr>
                                            <tr>
                                                <td>异步通知地址</td>
                                                <td>notifyUrl</td>
                                                <td>否</td>
                                                <td>String(256)</td>
                                                <td><a href="https://pay.hnmaster.cn/notify.htm"
                                                        target="_blank">https://pay.hnmaster.cn/notify.htm</a></td>
                                                <td>支付结果异步回调URL,只有传了该值才会发起回调</td>
                                            </tr>
                                            <tr>
                                                <td>跳转通知地址</td>
                                                <td>returnUrl</td>
                                                <td>否</td>
                                                <td>String(256)</td>
                                                <td><a href="https://pay.hnmaster.cn/return.htm"
                                                        target="_blank">https://pay.hnmaster.cn/return.htm</a></td>
                                                <td>支付结果同步跳转通知URL</td>
                                            </tr>
                                            <tr>
                                                <td>失效时间</td>
                                                <td>expiredTime</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td>3600</td>
                                                <td>订单失效时间,单位秒,默认2小时.订单在(创建时间+失效时间)后失效</td>
                                            </tr>
                                            <tr>
                                                <td>渠道参数</td>
                                                <td>channelExtra</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>{“auth_code”:”13920933111042”}</td>
                                                <td>特定渠道发起的额外参数,json格式字符串.详见渠道参数说明</td>
                                            </tr>
                                            <tr>
                                                <td>分账模式</td>
                                                <td>divisionMode</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td>0</td>
                                                <td>分账模式：<br> 0-该笔订单不允许分账[默认], <br>
                                                    1-支付成功按配置自动完成分账支付完成自动分账【需包含自动分账接收方，否则自动更新为0（V3.0.0新增）】 , <br>
                                                    2-商户手动分账(解冻商户金额)</td>
                                            </tr>
                                            <tr>
                                                <td>扩展参数</td>
                                                <td>extParam</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>134586944573118714</td>
                                                <td>商户扩展参数,回调时会原样返回</td>
                                            </tr>
                                            <tr>
                                                <td>请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>请求接口时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>接口版本</td>
                                                <td>version</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>1.0</td>
                                                <td>接口版本号，固定：1.0</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                            <tr>
                                                <td>签名类型</td>
                                                <td>signType</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>MD5</td>
                                                <td>签名类型，目前只支持MD5或RSA2方式</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <blockquote class="default">
                                        <p class="line">终端设备信息说明</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>设备类型</td>
                                                <td>deviceType</td>
                                                <td>是</td>
                                                <td>String(20)</td>
                                                <td>auto_pos</td>
                                                <td>智能POS：auto_pos，收银插件：cash_plugin</td>
                                            </tr>
                                            <tr>
                                                <td>设备号</td>
                                                <td>deviceNo</td>
                                                <td>是</td>
                                                <td>String(128)</td>
                                                <td>abcde12345</td>
                                                <td>设备号必填。设备类型为收银插件时传激活码；其他传设备号</td>
                                            </tr>
                                            <tr>
                                                <td>设备厂商</td>
                                                <td>provider</td>
                                                <td>否</td>
                                                <td>String(20)</td>
                                                <td>abc</td>
                                                <td>除智能POS外的其他设备类型，设备厂商必填</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>请求示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"amount"</span></span>: <span class="hljs-number"><span class="hljs-number">8</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"extParam"</span></span>: <span class="hljs-string"><span class="hljs-string">""</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"mchOrderNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"mho1624005107281"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"subject"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品标题"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"wayCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"ALI_BAR"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"84F606FA25A6EC4783BECC08D4FDC681"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"reqTime"</span></span>: <span class="hljs-string"><span class="hljs-string">"1624005107"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"body"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品描述"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"version"</span></span>: <span class="hljs-string"><span class="hljs-string">"1.0"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"channelExtra"</span></span>: <span class="hljs-string"><span class="hljs-string">"{\"authCode\":\"280812820366966512\"}"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"clientIp"</span></span>: <span class="hljs-string"><span class="hljs-string">"192.166.1.132"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"notifyUrl"</span></span>: <span class="hljs-string"><span class="hljs-string">"https://pay.hnmaster.cn"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"signType"</span></span>: <span class="hljs-string"><span class="hljs-string">"MD5"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"currency"</span></span>: <span class="hljs-string"><span class="hljs-string">"cny"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"returnUrl"</span></span>: <span class="hljs-string"><span class="hljs-string">""</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1623984572"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"divisionMode"</span></span>: <span class="hljs-number"><span class="hljs-number">1</span></span>
}</code></pre>
                                    <blockquote class="default">
                                        <p class="line">返回参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>返回状态</td>
                                                <td>code</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>0</td>
                                                <td>0-处理成功，其他-处理有误，详见错误码</td>
                                            </tr>
                                            <tr>
                                                <td>返回信息</td>
                                                <td>msg</td>
                                                <td>否</td>
                                                <td>String(128)</td>
                                                <td>签名失败</td>
                                                <td>具体错误原因，例如：签名失败、参数格式校验错误</td>
                                            </tr>
                                            <tr>
                                                <td>签名信息</td>
                                                <td>sign</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>CCD9083A6DAD9A2DA9F668C3D4517A84</td>
                                                <td>对data内数据签名,如data为空则不返回</td>
                                            </tr>
                                            <tr>
                                                <td>返回数据</td>
                                                <td>data</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>{}</td>
                                                <td>返回下单数据,json格式数据</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>data数据格式</code></p>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>支付订单号</td>
                                                <td>payOrderId</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>U12021022311124442600</td>
                                                <td>返回支付系统订单号</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>20160427210604000490</td>
                                                <td>返回商户传入的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>订单状态</td>
                                                <td>orderState</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>2</td>
                                                <td>支付订单状态<br>0-订单生成<br>1-支付中<br>2-支付成功<br>3-支付失败<br>4-已撤销<br>5-已退款<br>6-订单关闭
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>支付数据类型</td>
                                                <td>payDataType</td>
                                                <td>是</td>
                                                <td>String</td>
                                                <td>payUrl</td>
                                                <td>支付参数类型<br>payUrl-跳转链接的方式<br>form-表单方式<br>wxapp-微信支付参数(微信公众号,小程序,app支付时)<br>aliapp-支付宝app支付参数<br>ysfapp-云闪付app支付参数<br>codeUrl-二维码地址<br>codeImgUrl-二维码图片地址<br>none-空支付参数
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>支付数据</td>
                                                <td>payData</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td><a href="http://pay.hnmaster.cn/pay.html"
                                                        target="_blank">http://pay.hnmaster.cn/pay.html</a></td>
                                                <td>发起支付用到的支付参数，如微信公众号和小程序发起支付使用的参数等</td>
                                            </tr>
                                            <tr>
                                                <td>订单信息数据</td>
                                                <td>payOrderInfo</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>{}</td>
                                                <td>订单信息， 当直接支付成功时会返回此数据</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误码</td>
                                                <td>errCode</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>ACQ.PAYMENT_AUTH_CODE_INVALID</td>
                                                <td>上游渠道返回的错误码</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误描述</td>
                                                <td>errMsg</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>Business Failed 失败</td>
                                                <td>上游渠道返回的错误描述</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>返回示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"code"</span></span>: <span class="hljs-number"><span class="hljs-number">0</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"data"</span></span>: {
    <span class="hljs-attr"><span class="hljs-attr">"errCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"ACQ.PAYMENT_AUTH_CODE_INVALID"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"errMsg"</span></span>: <span class="hljs-string"><span class="hljs-string">"Business Failed【支付失败，获取顾客账户信息失败，请顾客刷新付款码后重新收款，如再次收款失败，请联系管理员处理。[SOUNDWAVE_PARSER_FAIL]】"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"mchOrderNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"mho1624005752661"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"orderState"</span></span>: <span class="hljs-number"><span class="hljs-number">3</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"payOrderId"</span></span>: <span class="hljs-string"><span class="hljs-string">"P202106181642329900002"</span></span>
  },
  <span class="hljs-attr"><span class="hljs-attr">"msg"</span></span>: <span class="hljs-string"><span class="hljs-string">"SUCCESS"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"F4DA202C516D1F33A12F1E547C5004FD"</span></span>
}</code></pre>
                                    <h3 id="fwwfnz" class="markdown-heading"><a name="fwwfnz"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>支付方式</h3>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>WayCode</th>
                                                <th>支付方式</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>WEB_CASHIER</td>
                                                <td>WEB收银台</td>
                                            </tr>
                                            <tr>
                                                <td>QR_CASHIER</td>
                                                <td>聚合扫码(用户扫商家)</td>
                                            </tr>
                                            <tr>
                                                <td>AUTO_BAR</td>
                                                <td>聚合条码(商家扫用户)</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_BAR</td>
                                                <td>支付宝条码</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_JSAPI</td>
                                                <td>支付宝生活号</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_LITE</td>
                                                <td>支付宝小程序</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_APP</td>
                                                <td>支付宝APP</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_WAP</td>
                                                <td>支付宝WAP</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_PC</td>
                                                <td>支付宝PC网站</td>
                                            </tr>
                                            <tr>
                                                <td>ALI_QR</td>
                                                <td>支付宝二维码</td>
                                            </tr>
                                            <tr>
                                                <td>WX_BAR</td>
                                                <td>微信条码</td>
                                            </tr>
                                            <tr>
                                                <td>WX_JSAPI</td>
                                                <td>微信公众号</td>
                                            </tr>
                                            <tr>
                                                <td>WX_LITE</td>
                                                <td>微信小程序</td>
                                            </tr>
                                            <tr>
                                                <td>WX_APP</td>
                                                <td>微信APP</td>
                                            </tr>
                                            <tr>
                                                <td>WX_H5</td>
                                                <td>微信H5</td>
                                            </tr>
                                            <tr>
                                                <td>WX_NATIVE</td>
                                                <td>微信扫码</td>
                                            </tr>
                                            <tr>
                                                <td>YSF_BAR</td>
                                                <td>云闪付条码</td>
                                            </tr>
                                            <tr>
                                                <td>YSF_JSAPI</td>
                                                <td>云闪付jsapi</td>
                                            </tr>
                                            <tr>
                                                <td>AUTO_POS</td>
                                                <td>智能POS</td>
                                            </tr>
                                            <tr>
                                                <td>DCEP_BAR</td>
                                                <td>数字人民币条码</td>
                                            </tr>
                                            <tr>
                                                <td>DCEP_QR</td>
                                                <td>数字人民币二维码</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <blockquote class="default">
                                        <p class="line">channelExtra参数说明</p>
                                    </blockquote>
                                    <p class="line">当 <code>wayCode=AUTO_BAR</code> 或 <code>wayCode=ALI_BAR</code> 或
                                        <code>wayCode=WX_BAR</code> 或 <code>wayCode=YSF_BAR</code>
                                        时，channelExtra必须传auth_code，为用户的付款码值，channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"authCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"13920933111042"</span></span>}</code></pre>
                                    <p class="line">当 <code>wayCode=ALI_JSAPI</code>或 <code>wayCode=ALI_LITE</code>
                                        时，channelExtra必须传buyerUserId，为支付宝用户ID，channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"buyerUserId"</span></span>: <span class="hljs-string"><span class="hljs-string">"2088702585070844"</span></span>}</code></pre>
                                    <p class="line">当 <code>wayCode=WX_JSAPI</code> 或 <code>wayCode=WX_LITE</code>
                                        时，channelExtra必须传openid，为微信OpenId， channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"openid"</span></span>: <span class="hljs-string"><span class="hljs-string">"o6BcIwvSiRpfS8e_UyfQNrYuk2LI"</span></span>}</code></pre>
                                    <p class="line">注意： 若当前为特约商户，并且商户使用的自己的公众号或者小程序获取到的openId时：<br>需要： </p>
                                    <ol>
                                        <li>商户自己的公众号或者小程序的AppId需要在服务商里进行关联， 请联系运营平台进行配置；</li>
                                        <li><code>channelExtra</code>参数中添加 subAppId 参数，该参数为商户的公众号或小程序的AppId，示例：</li>
                                    </ol>
                                    <pre
                                        class="hljs bash"><code class="language-json">{ <span class="hljs-string"><span class="hljs-string">"openid"</span></span>: <span class="hljs-string"><span class="hljs-string">"o6BcIwvSiRpfS8e_UyfQNrYuk2LI"</span></span>, <span class="hljs-string"><span class="hljs-string">"subAppId"</span></span>：<span class="hljs-string"><span class="hljs-string">"wx08b5a41f7a27abf1"</span></span> }</code></pre>
                                    <p class="line">当 <code>wayCode=ALI_QR</code> 或 <code>wayCode=WX_NATIVE</code>
                                        时，channelExtra可以传payDataType设置返回支付数据支付类型。此时payDataType可以为：codeUrl-二维码地址,codeImgUrl-二维码图片地址，不传payDataType默认返回codeUrl类型,
                                        channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"payDataType"</span></span>: <span class="hljs-string"><span class="hljs-string">"codeImgUrl"</span></span>}</code></pre>
                                    <p class="line">当 <code>wayCode=QR_CASHIER</code>
                                        时，channelExtra可以传payDataType和entryPageType。<br>entryPageType指定聚合码扫码时进入H5或小程序页面，默认为H5页面。h5-h5页面，lite-小程序页面。<br>payDataType设置返回支付数据支付类型，此时payDataType可以为：codeUrl-二维码地址,codeImgUrl-二维码图片地址，不传payDataType默认返回codeUrl类型,
                                        channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"entryPageType"</span></span>: <span class="hljs-string"><span class="hljs-string">"lite"</span></span>, <span class="hljs-attr"><span class="hljs-attr">"payDataType"</span></span>: <span class="hljs-string"><span class="hljs-string">"codeImgUrl"</span></span>}</code></pre>
                                    <p class="line">当 <code>wayCode=ALI_WAP</code>
                                        时，channelExtra可以传payDataType设置返回支付数据支付类型。此时payDataType可以为：form-返回自动跳转的支付表单,codeImgUrl-返回一个二维码图片URL,payUrl-返回支付链接，不传payDataType默认返回payUrl类型,
                                        channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"payDataType"</span></span>: <span class="hljs-string"><span class="hljs-string">"form"</span></span>}</code></pre>
                                    <p class="line">当 <code>wayCode=ALI_PC</code>
                                        时，channelExtra可以传payDataType设置返回支付数据支付类型。此时payDataType可以为：form-返回自动跳转的支付表单,payUrl-返回支付链接，不传payDataType默认返回payUrl类型,
                                        channelExtra示例数据如：</p>
                                    <pre
                                        class="hljs json"><code class="language-json">{<span class="hljs-attr"><span class="hljs-attr">"payDataType"</span></span>: <span class="hljs-string"><span class="hljs-string">"form"</span></span>}</code></pre>
                                    <h2 id="69qhde" class="markdown-heading"><a name="69qhde"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>查询订单</h2>
                                    <p class="line">商户通过该接口查询订单，支付网关会返回订单最新的数据</p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：<a href="https://pay.hnmaster.cn/api/pay/query"
                                            target="_blank">https://pay.hnmaster.cn/api/pay/query</a></p>
                                    <p class="line">请求方式：<code>POST</code></p>
                                    <p class="line">请求类型：<code>application/json</code> 或
                                        <code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">请求参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>支付订单号</td>
                                                <td>payOrderId</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>P20160427210604000490</td>
                                                <td>支付中心生成的订单号，与mchOrderNo二者传一即可</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>20160427210604000490</td>
                                                <td>商户生成的订单号，与payOrderId二者传一即可</td>
                                            </tr>
                                            <tr>
                                                <td>请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>请求接口时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>接口版本</td>
                                                <td>version</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>1.0</td>
                                                <td>接口版本号，固定：1.0</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                            <tr>
                                                <td>签名类型</td>
                                                <td>signType</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>MD5</td>
                                                <td>签名类型，目前只支持MD5或RSA2方式</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>请求示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"payOrderId"</span></span>: <span class="hljs-string"><span class="hljs-string">"P202106181104177050002"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"46940C58B2F3AE426B77A297ABF4D31E"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"signType"</span></span>: <span class="hljs-string"><span class="hljs-string">"MD5"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"reqTime"</span></span>: <span class="hljs-string"><span class="hljs-string">"1624006009"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1623984572"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"version"</span></span>: <span class="hljs-string"><span class="hljs-string">"1.0"</span></span>
}</code></pre>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>返回状态</td>
                                                <td>code</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>0</td>
                                                <td>0-处理成功，其他-处理有误，详见错误码</td>
                                            </tr>
                                            <tr>
                                                <td>返回信息</td>
                                                <td>msg</td>
                                                <td>否</td>
                                                <td>String(128)</td>
                                                <td>签名失败</td>
                                                <td>具体错误原因，例如：签名失败、参数格式校验错误</td>
                                            </tr>
                                            <tr>
                                                <td>签名信息</td>
                                                <td>sign</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>CCD9083A6DAD9A2DA9F668C3D4517A84</td>
                                                <td>对data内数据签名,如data为空则不返回</td>
                                            </tr>
                                            <tr>
                                                <td>返回数据</td>
                                                <td>data</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>{}</td>
                                                <td>返回下单数据,json格式数据</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>data数据格式</code></p>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>支付订单号</td>
                                                <td>payOrderId</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>P12021022311124442600</td>
                                                <td>返回支付系统订单号</td>
                                            </tr>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(24)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>20160427210604000490</td>
                                                <td>返回商户传入的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>支付接口</td>
                                                <td>ifCode</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>wxpay</td>
                                                <td>支付接口编码</td>
                                            </tr>
                                            <tr>
                                                <td>支付方式</td>
                                                <td>wayCode</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>WX_LITE</td>
                                                <td>支付方式,如微信小程序WX_LITE</td>
                                            </tr>
                                            <tr>
                                                <td>支付金额</td>
                                                <td>amount</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>100</td>
                                                <td>支付金额,单位分</td>
                                            </tr>
                                            <tr>
                                                <td>货币代码</td>
                                                <td>currency</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>cny</td>
                                                <td>三位货币代码,人民币:cny</td>
                                            </tr>
                                            <tr>
                                                <td>订单状态</td>
                                                <td>state</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>2</td>
                                                <td>支付订单状态<br>0-订单生成<br>1-支付中<br>2-支付成功<br>3-支付失败<br>4-已撤销<br>5-已退款<br>6-订单关闭
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>客户端IP</td>
                                                <td>clientIp</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>210.73.10.148</td>
                                                <td>客户端IPV4地址</td>
                                            </tr>
                                            <tr>
                                                <td>商品标题</td>
                                                <td>subject</td>
                                                <td>是</td>
                                                <td>String(128)</td>
                                                <td>Jeepay商品标题测试</td>
                                                <td>商品标题</td>
                                            </tr>
                                            <tr>
                                                <td>商品描述</td>
                                                <td>body</td>
                                                <td>是</td>
                                                <td>String(256)</td>
                                                <td>Jeepay商品描述测试</td>
                                                <td>商品描述</td>
                                            </tr>
                                            <tr>
                                                <td>渠道订单号</td>
                                                <td>channelOrderNo</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>20160427210604000490</td>
                                                <td>对应渠道的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误码</td>
                                                <td>errCode</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>1002</td>
                                                <td>渠道下单返回错误码</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误描述</td>
                                                <td>errMsg</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>134586944573118714</td>
                                                <td>渠道下单返回错误描述</td>
                                            </tr>
                                            <tr>
                                                <td>扩展参数</td>
                                                <td>extParam</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>134586944573118714</td>
                                                <td>商户扩展参数,回调时会原样返回</td>
                                            </tr>
                                            <tr>
                                                <td>创建时间</td>
                                                <td>createdAt</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>订单创建时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>成功时间</td>
                                                <td>successTime</td>
                                                <td>否</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>订单支付成功时间,13位时间戳</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>返回示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"code"</span></span>: <span class="hljs-number"><span class="hljs-number">0</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"data"</span></span>: {
    <span class="hljs-attr"><span class="hljs-attr">"amount"</span></span>: <span class="hljs-number"><span class="hljs-number">58</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"body"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品描述"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"channelOrderNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"2021061822001423031419593035"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"clientIp"</span></span>: <span class="hljs-string"><span class="hljs-string">"192.166.1.132"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"createdAt"</span></span>: <span class="hljs-number"><span class="hljs-number">1623985457705</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"currency"</span></span>: <span class="hljs-string"><span class="hljs-string">"cny"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"extParam"</span></span>: <span class="hljs-string"><span class="hljs-string">""</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"ifCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"alipay"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1623984572"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"mchOrderNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"mho1623985457320"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"payOrderId"</span></span>: <span class="hljs-string"><span class="hljs-string">"P202106181104177050002"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"state"</span></span>: <span class="hljs-number"><span class="hljs-number">2</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"subject"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品标题"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"successTime"</span></span>: <span class="hljs-number"><span class="hljs-number">1623985459000</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"wayCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"ALI_BAR"</span></span>
  },
  <span class="hljs-attr"><span class="hljs-attr">"msg"</span></span>: <span class="hljs-string"><span class="hljs-string">"SUCCESS"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"9548145EA12D0CD8C1628BCF44E19E0D"</span></span>
}</code></pre>
                                    <h2 id="9bcp0q" class="markdown-heading"><a name="9bcp0q"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>关闭订单</h2>
                                    <p class="line">商户通过该接口关闭订单，支付网关会对订单完成关闭处理。</p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：<a href="https://pay.hnmaster.cn/api/pay/close"
                                            target="_blank">https://pay.hnmaster.cn/api/pay/close</a></p>
                                    <p class="line">请求方式：<code>POST</code></p>
                                    <p class="line">请求类型：<code>application/json</code> 或
                                        <code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">请求参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>支付订单号</td>
                                                <td>payOrderId</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>P20160427210604000490</td>
                                                <td>支付中心生成的订单号，与mchOrderNo二者传一即可</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>20160427210604000490</td>
                                                <td>商户生成的订单号，与payOrderId二者传一即可</td>
                                            </tr>
                                            <tr>
                                                <td>请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>请求接口时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>接口版本</td>
                                                <td>version</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>1.0</td>
                                                <td>接口版本号，固定：1.0</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                            <tr>
                                                <td>签名类型</td>
                                                <td>signType</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>MD5</td>
                                                <td>签名类型，目前只支持MD5或RSA2方式</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>请求示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"payOrderId"</span></span>: <span class="hljs-string"><span class="hljs-string">"P202106181104177050002"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"46940C58B2F3AE426B77A297ABF4D31E"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"signType"</span></span>: <span class="hljs-string"><span class="hljs-string">"MD5"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"reqTime"</span></span>: <span class="hljs-string"><span class="hljs-string">"1624006009"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1623984572"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"version"</span></span>: <span class="hljs-string"><span class="hljs-string">"1.0"</span></span>
}</code></pre>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>返回状态</td>
                                                <td>code</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>0</td>
                                                <td>0-处理成功，其他-处理有误，详见错误码</td>
                                            </tr>
                                            <tr>
                                                <td>返回信息</td>
                                                <td>msg</td>
                                                <td>否</td>
                                                <td>String(128)</td>
                                                <td>签名失败</td>
                                                <td>具体错误原因，例如：签名失败、参数格式校验错误</td>
                                            </tr>
                                            <tr>
                                                <td>签名信息</td>
                                                <td>sign</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>CCD9083A6DAD9A2DA9F668C3D4517A84</td>
                                                <td>对data内数据签名,如data为空则不返回</td>
                                            </tr>
                                            <tr>
                                                <td>返回数据</td>
                                                <td>data</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>{}</td>
                                                <td>返回下单数据,json格式数据</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>data数据格式</code></p>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>渠道错误码</td>
                                                <td>errCode</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>1002</td>
                                                <td>渠道关单返回错误码</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误描述</td>
                                                <td>errMsg</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>关闭异常</td>
                                                <td>渠道关单返回错误描述</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>返回示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"code"</span></span>: <span class="hljs-number"><span class="hljs-number">0</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"data"</span></span>: {
    <span class="hljs-attr"><span class="hljs-attr">"errCode"</span></span>: '',
    <span class="hljs-attr"><span class="hljs-attr">"errMsg"</span></span>: ''
  },
  <span class="hljs-attr"><span class="hljs-attr">"msg"</span></span>: <span class="hljs-string"><span class="hljs-string">"SUCCESS"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"9548145EA12D0CD8C1628BCF44E19E0D"</span></span>
}</code></pre>
                                    <h2 id="anhj72" class="markdown-heading"><a name="anhj72"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>条码换取openId</h2>
                                    <p class="line">商户通过该接口上送刷卡条码值， 换取到微信openId。</p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：<a href="https://pay.hnmaster.cn/api/pay/queryOpenIdByBarcode"
                                            target="_blank">https://pay.hnmaster.cn/api/pay/queryOpenIdByBarcode</a></p>
                                    <p class="line">请求方式：<code>POST</code></p>
                                    <p class="line">请求类型：<code>application/json</code> 或
                                        <code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">请求参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(64)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>条码数据</td>
                                                <td>barCode</td>
                                                <td>是</td>
                                                <td>String(60)</td>
                                                <td>20160427210604000490</td>
                                                <td>条码值</td>
                                            </tr>
                                            <tr>
                                                <td>subAppId</td>
                                                <td>subAppId</td>
                                                <td>否</td>
                                                <td>String(30)</td>
                                                <td>20160427210604000490</td>
                                                <td>若传入则透传到三方支付</td>
                                            </tr>
                                            <tr>
                                                <td>请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>请求接口时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>接口版本</td>
                                                <td>version</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>1.0</td>
                                                <td>接口版本号，固定：1.0</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                            <tr>
                                                <td>签名类型</td>
                                                <td>signType</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>MD5</td>
                                                <td>签名类型，目前只支持MD5或RSA2方式</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>请求示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"barCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"202106181104177050002"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"46940C58B2F3AE426B77A297ABF4D31E"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"signType"</span></span>: <span class="hljs-string"><span class="hljs-string">"MD5"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"reqTime"</span></span>: <span class="hljs-string"><span class="hljs-string">"1624006009"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1623984572"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"version"</span></span>: <span class="hljs-string"><span class="hljs-string">"1.0"</span></span>
}</code></pre>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>返回状态</td>
                                                <td>code</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>0</td>
                                                <td>0-处理成功，其他-处理有误，详见错误码</td>
                                            </tr>
                                            <tr>
                                                <td>返回信息</td>
                                                <td>msg</td>
                                                <td>否</td>
                                                <td>String(128)</td>
                                                <td>签名失败</td>
                                                <td>具体错误原因，例如：签名失败、参数格式校验错误</td>
                                            </tr>
                                            <tr>
                                                <td>签名信息</td>
                                                <td>sign</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>CCD9083A6DAD9A2DA9F668C3D4517A84</td>
                                                <td>对data内数据签名,如data为空则不返回</td>
                                            </tr>
                                            <tr>
                                                <td>返回数据</td>
                                                <td>data</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>{}</td>
                                                <td>返回下单数据,json格式数据</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>data数据格式</code></p>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>openId</td>
                                                <td>openId</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>1002</td>
                                                <td>openId</td>
                                            </tr>
                                            <tr>
                                                <td>subOpenId</td>
                                                <td>subOpenId</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>1002</td>
                                                <td>subOpenId</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>返回示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"code"</span></span>: <span class="hljs-number"><span class="hljs-number">0</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"data"</span></span>: {
    <span class="hljs-attr"><span class="hljs-attr">"openId"</span></span>: '',
    <span class="hljs-attr"><span class="hljs-attr">"subOpenId"</span></span>: ''
  },
  <span class="hljs-attr"><span class="hljs-attr">"msg"</span></span>: <span class="hljs-string"><span class="hljs-string">"SUCCESS"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"9548145EA12D0CD8C1628BCF44E19E0D"</span></span>
}</code></pre>
                                    <h2 id="9temr0" class="markdown-heading"><a name="9temr0"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>支付通知</h2>
                                    <p class="line">当订单支付成功时，支付网关会向商户系统发起回调通知。如果商户系统没有正确返回，支付网关会延迟再次通知。</p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：该链接是通过统一下单接口提交的参数notifyUrl设置，如果无法访问链接，商户系统将无法接收到支付中心的通知。</p>
                                    <p class="line">请求方式：<code>POST</code></p>
                                    <p class="line">请求类型：<code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">通知参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>支付订单号</td>
                                                <td>payOrderId</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>P12021022311124442600</td>
                                                <td>返回支付系统订单号</td>
                                            </tr>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(24)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>商户订单号</td>
                                                <td>mchOrderNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>20160427210604000490</td>
                                                <td>返回商户传入的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>支付接口</td>
                                                <td>ifCode</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>wxpay</td>
                                                <td>支付接口编码</td>
                                            </tr>
                                            <tr>
                                                <td>支付方式</td>
                                                <td>wayCode</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>WX_LITE</td>
                                                <td>支付方式,微信小程序WX_LITE</td>
                                            </tr>
                                            <tr>
                                                <td>支付金额</td>
                                                <td>amount</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>100</td>
                                                <td>支付金额,单位分</td>
                                            </tr>
                                            <tr>
                                                <td>货币代码</td>
                                                <td>currency</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>cny</td>
                                                <td>三位货币代码,人民币:cny</td>
                                            </tr>
                                            <tr>
                                                <td>订单状态</td>
                                                <td>state</td>
                                                <td>是</td>
                                                <td>int</td>
                                                <td>2</td>
                                                <td>支付订单状态<br>0-订单生成<br>1-支付中<br>2-支付成功<br>3-支付失败<br>4-已撤销<br>5-已退款<br>6-订单关闭
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>客户端IP</td>
                                                <td>clientIp</td>
                                                <td>否</td>
                                                <td>String(32)</td>
                                                <td>210.73.10.148</td>
                                                <td>客户端IPV4地址</td>
                                            </tr>
                                            <tr>
                                                <td>商品标题</td>
                                                <td>subject</td>
                                                <td>是</td>
                                                <td>String(128)</td>
                                                <td>Jeepay商品标题测试</td>
                                                <td>商品标题</td>
                                            </tr>
                                            <tr>
                                                <td>商品描述</td>
                                                <td>body</td>
                                                <td>是</td>
                                                <td>String(256)</td>
                                                <td>Jeepay商品描述测试</td>
                                                <td>商品描述</td>
                                            </tr>
                                            <tr>
                                                <td>渠道订单号</td>
                                                <td>channelOrderNo</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>20160427210604000490</td>
                                                <td>对应渠道的订单号</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误码</td>
                                                <td>errCode</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>1002</td>
                                                <td>渠道下单返回错误码</td>
                                            </tr>
                                            <tr>
                                                <td>渠道错误描述</td>
                                                <td>errMsg</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td>134586944573118714</td>
                                                <td>渠道下单返回错误描述</td>
                                            </tr>
                                            <tr>
                                                <td>扩展参数</td>
                                                <td>extParam</td>
                                                <td>否</td>
                                                <td>String(512)</td>
                                                <td>134586944573118714</td>
                                                <td>商户扩展参数</td>
                                            </tr>
                                            <tr>
                                                <td>支付成功时间</td>
                                                <td>successTime</td>
                                                <td>否</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>订单支付成功时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>创建时间</td>
                                                <td>createdAt</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>订单创建时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>通知请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>1622016572190</td>
                                                <td>通知请求时间，,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <blockquote class="default">
                                        <p class="line">以下扩展参数如需同步传递需在商户后台配置</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户门店ID</td>
                                                <td>storeId</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>经度</td>
                                                <td>lng</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>纬度</td>
                                                <td>lat</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>码牌ID</td>
                                                <td>qrcId</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>支付方式代码分类</td>
                                                <td>wayCodeType</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>商户手续费费率</td>
                                                <td>mchFeeRate</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>商户门店ID</td>
                                            </tr>
                                            <tr>
                                                <td>商户手续费</td>
                                                <td>mchFeeAmount</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td></td>
                                                <td>商户手续费,单位分</td>
                                            </tr>
                                            <tr>
                                                <td>渠道用户标识</td>
                                                <td>channelUser</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>渠道用户标识,如微信openId,支付宝账号</td>
                                            </tr>
                                            <tr>
                                                <td>订单分账模式</td>
                                                <td>divisionMode</td>
                                                <td>否</td>
                                                <td>int</td>
                                                <td></td>
                                                <td>订单分账模式：0-该笔订单不允许分账, 1-支付成功按配置自动完成分账, 2-商户手动分账(解冻商户金额)</td>
                                            </tr>
                                            <tr>
                                                <td>买家备注</td>
                                                <td>buyerRemark</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>买家备注</td>
                                            </tr>
                                            <tr>
                                                <td>卖家备注</td>
                                                <td>sellerRemark</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>卖家备注</td>
                                            </tr>
                                            <tr>
                                                <td>订单失效时间</td>
                                                <td>expiredTime</td>
                                                <td>否</td>
                                                <td>long</td>
                                                <td></td>
                                                <td>订单失效时间</td>
                                            </tr>
                                            <tr>
                                                <td>支付凭证交易单号</td>
                                                <td>platformOrderNo</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>支付凭证交易单号</td>
                                            </tr>
                                            <tr>
                                                <td>支付凭证商户单号</td>
                                                <td>platformMchOrderNo</td>
                                                <td>否</td>
                                                <td>String</td>
                                                <td></td>
                                                <td>支付凭证商户单号</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line">&gt; 返回结果</p>
                                    <p class="line">业务系统处理后同步返回给支付中心，返回字符串 success
                                        则表示成功，返回非success则表示处理失败，支付中心会再次通知业务系统。（通知频率为0/30/60/90/120/150,单位：秒）</p>
                                    <p class="line"><code>注意：返回的字符串不区分大小写，字符串前后不能有空格和换行符。</code></p>
                                    <p class="line"><code>通知示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
    <span class="hljs-attr"><span class="hljs-attr">"amount"</span></span>: <span class="hljs-number"><span class="hljs-number">5</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"body"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品描述"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"clientIp"</span></span>: <span class="hljs-string"><span class="hljs-string">"192.166.1.132"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"createdAt"</span></span>: <span class="hljs-string"><span class="hljs-string">"1622016572190"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"currency"</span></span>: <span class="hljs-string"><span class="hljs-string">"cny"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"extParam"</span></span>: <span class="hljs-string"><span class="hljs-string">""</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"ifCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"wxpay"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1621873433953"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"mchOrderNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"mho1621934803068"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"payOrderId"</span></span>: <span class="hljs-string"><span class="hljs-string">"20210525172643357010"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"state"</span></span>: <span class="hljs-number"><span class="hljs-number">3</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"subject"</span></span>: <span class="hljs-string"><span class="hljs-string">"商品标题"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"wayCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"WX_BAR"</span></span>,
    <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"C380BEC2BFD727A4B6845133519F3AD6"</span></span>
}</code></pre>
                                    <h2 id="2p7jj6" class="markdown-heading"><a name="2p7jj6"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>获取渠道用户ID</h2>
                                    <p class="line">
                                        商户通过该接口获取渠道的用户ID，如微信的openID，支付宝的userId。该接口通过跳转获取到用户ID后，会跳转到商户上传的redirectUrl地址，并传递用户ID参数
                                    </p>
                                    <blockquote class="default">
                                        <p class="line">接口说明</p>
                                    </blockquote>
                                    <p class="line">适用对象：<code>普通商户</code> <code>特约商户</code></p>
                                    <p class="line">请求URL：<a href="https://pay.hnmaster.cn/api/channelUserId/jump"
                                            target="_blank">https://pay.hnmaster.cn/api/channelUserId/jump</a></p>
                                    <p class="line">请求方式：<code>GET</code></p>
                                    <p class="line">请求类型：<code>application/json</code> 或
                                        <code>application/x-www-form-urlencoded</code></p>
                                    <blockquote class="default">
                                        <p class="line">请求参数</p>
                                    </blockquote>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>商户号</td>
                                                <td>mchNo</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>M1621873433953</td>
                                                <td>商户号</td>
                                            </tr>
                                            <tr>
                                                <td>应用ID</td>
                                                <td>appId</td>
                                                <td>是</td>
                                                <td>String(24)</td>
                                                <td>60cc09bce4b0f1c0b83761c9</td>
                                                <td>应用ID</td>
                                            </tr>
                                            <tr>
                                                <td>支付接口</td>
                                                <td>ifCode</td>
                                                <td>是</td>
                                                <td>String(30)</td>
                                                <td>AUTO</td>
                                                <td>目前只支持传 AUTO</td>
                                            </tr>
                                            <tr>
                                                <td>跳转地址</td>
                                                <td>redirectUrl</td>
                                                <td>是</td>
                                                <td>String</td>
                                                <td><a href="https://pay.hnmaster.cn/"
                                                        target="_blank">https://pay.hnmaster.cn</a></td>
                                                <td>获取到用户ID后，会携带用户ID参数跳转到该地址</td>
                                            </tr>
                                            <tr>
                                                <td>请求时间</td>
                                                <td>reqTime</td>
                                                <td>是</td>
                                                <td>long</td>
                                                <td>1622016572190</td>
                                                <td>请求接口时间,13位时间戳</td>
                                            </tr>
                                            <tr>
                                                <td>接口版本</td>
                                                <td>version</td>
                                                <td>是</td>
                                                <td>String(3)</td>
                                                <td>1.0</td>
                                                <td>接口版本号，固定：1.0</td>
                                            </tr>
                                            <tr>
                                                <td>签名</td>
                                                <td>sign</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>C380BEC2BFD727A4B6845133519F3AD6</td>
                                                <td>签名值，详见签名算法</td>
                                            </tr>
                                            <tr>
                                                <td>签名类型</td>
                                                <td>signType</td>
                                                <td>是</td>
                                                <td>String(32)</td>
                                                <td>MD5</td>
                                                <td>签名类型，目前只支持MD5或RSA2方式</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>请求示例数据</code></p>
                                    <pre class="hljs json"><code class="language-json">{
  <span class="hljs-attr"><span class="hljs-attr">"mchNo"</span></span>: <span class="hljs-string"><span class="hljs-string">"M1621873433953"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"appId"</span></span>: <span class="hljs-string"><span class="hljs-string">"60cc09bce4b0f1c0b83761c9"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"ifCode"</span></span>: <span class="hljs-string"><span class="hljs-string">"wxpay"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"redirectUrl"</span></span>: <span class="hljs-string"><span class="hljs-string">"https://pay.hnmaster.cn"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"sign"</span></span>: <span class="hljs-string"><span class="hljs-string">"A5C93D50743126ED91AA6ED96CDEEEF8"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"signType"</span></span>: <span class="hljs-string"><span class="hljs-string">"MD5"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"reqTime"</span></span>: <span class="hljs-string"><span class="hljs-string">"1622011236571"</span></span>,
  <span class="hljs-attr"><span class="hljs-attr">"version"</span></span>: <span class="hljs-string"><span class="hljs-string">"1.0"</span></span>
}</code></pre>
                                    <p class="line"><code>当获取到渠道用户ID后，会301重定向到跳转地址，传递参数如下</code></p>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>字段名</th>
                                                <th>变量名</th>
                                                <th>必填</th>
                                                <th>类型</th>
                                                <th>示例值</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>渠道用户ID</td>
                                                <td>channelUserId</td>
                                                <td>是</td>
                                                <td>String</td>
                                                <td>o6BcIwvSiRpfS8e_UyfQNrYuk2LI</td>
                                                <td>渠道用户ID，微信openId或支付宝userId</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <p class="line"><code>完整跳转URL示例</code></p>
                                    <pre
                                        class="hljs cpp"><code class="language-html">https:<span class="hljs-comment"><span class="hljs-comment">//pay.hnmaster.cn/toU?channelUserId=o6BcIwvSiRpfS8e_UyfQNrYuk2LI</span></span></code></pre>
                                    <h2 id="252amo" class="markdown-heading"><a name="252amo"
                                            class="reference-link"></a><span
                                            class="header-link octicon octicon-link"></span>返回码</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>code</th>
                                                <th>描述</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>0</td>
                                                <td>成功</td>
                                            </tr>
                                            <tr>
                                                <td>9999</td>
                                                <td>异常，具体错误详见msg字段</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="wiki-bottom"></div>
                                </div>

                            </article>
                        </div>

                        <div class="jump-top">
                            <a href="javascript:;" class="view-backtop"><i class="fa fa-arrow-up"
                                    aria-hidden="true"></i></a>
                        </div>
                    </div>

                </div>
            </div>
            <div class="manual-progress"><b class="progress-bar"></b></div>
            <div id="manual-vsplitbar" unselectable="on"
                style="                        z-index:301;                        position: absolute;                        user-select: none;                        cursor: col-resize;                        left: 275px;                        height: 100%;                        display: block;                        width: 3px;">
                <a href="javascript:void(0)" accesskey="" tabindex="0" title="vsplitbar"></a> </div>
        </article>
        <div class="manual-mask"></div>
    </div>


    <script src="./static/jquery.min.js"></script>
    <script src="./static/bootstrap.min.js"></script>
    <script src="./static/jquery.form.js" type="text/javascript"></script>
    <script src="./static/layer.js" type="text/javascript"></script>
    <script src="./static/jstree.min.js" type="text/javascript"></script>
    <script src="./static/nprogress.js" type="text/javascript"></script>
    <script src="./static/highlight.js" type="text/javascript"></script>
    <script src="./static/jquery.highlight.js" type="text/javascript"></script>
    <script src="./static/kancloud.js" type="text/javascript"></script>
    <script src="./static/splitbar.js" type="text/javascript"></script>
    <script type="text/javascript">
        
    </script>


</body>

</html>